package person.zhaiming;

import myRule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @program: zhaimingSpringCloud
 * @description:
 * @author: zhaiming
 * @create: 2020-12-02 14:42
 **/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableDiscoveryClient
@RibbonClient(name="COMSUMER-ORDER-SERVICE",configuration = MySelfRule.class)
public class OrderZKMain8433 {
    public static void main(String[] args) {
        SpringApplication.run(OrderZKMain8433.class, args);
    }
}
